// 请求地址
const baseUrl = (function() {
	return 'https://taoke.daihuo.com/api/app'
	// return 'http://192.168.0.112:7002/app'
	// return 'https://kete999.utools.club/app'
	// return 'https://kete.utools.club/app';
	// return 'https://192.168.0.122/app'
	// return 'http://zfx-platform.xmonecode.com/api/admin';

	let proxy = 'pro';

	if (proxy) {
		uni.setStorageSync('proxy', proxy);
	} else {
		proxy = uni.getStorageSync('proxy') || 'dev';
	}
	console.log('qewqweqwe', process.env.NODE_ENV)
	switch (process.env.NODE_ENV) {
		case 'development':
			return `/${proxy}/admin`;
		case 'production':
			return `/api/admin`;
		default:
			return '';
	}
})();

const token = '';

export { baseUrl, token };
